package org.sport.init;

/**
 * Created by Allen on 2017/9/27.
 */
public final class SportServerSymbol {

     //--------------------图片地址常量-----------------------//

     //我的
     //public static String tomcatImgPath = "D:\\Tomcat\\myTomcat\\webapps\\ROOT\\0\\upload_img";
     //public static String ImgStoragePath = "E:\\IntelliJ IDEA\\code\\tclhomework_git\\img";
     //服务器的
     public static String tomcatImgPath = "/usr/local/tclhomework/tomcat/tomcat-8.0/webapps/ROOT/0/upload_img";
     public static String ImgStoragePath = "/usr/local/tclhomework/img";


     //--------------------historyinfotable表常量-----------------------//

     public static final class historyinfotable{

          //status字段，read为已读，unread为未读
          public static final String STATUS_READ="read";
          public static final String STATUS_UNREAD="unread";

     }


     //--------------------linkapplyhistory表常量-----------------------//

     public static final class linkapplyhistory {

          //status字段，refuse为拒绝，accept为接受，unhandle为未处理
          public static final String STATUS_REFUSE = "refuse";
          public static final String STATUS_ACCEPT = "accept";
          public static final String STATUS_UNHANDLE = "unhandle";

     }


     //--------------------discusstable表常量-----------------------//

     public static final class discusstable {

          //followId字段，0表示评论活动，正整数才是评论他人的评论
          public static final int FOLLOWID_FOLLOWACTIVITY=0;

     }

     //--------------------paracttable表常量-----------------------//
     public static final class paracttable {

          //status字段,success为申请成功
          public static final String STATUS_SUCCESS="success";
     }



     //--------------------activitytable表常量-----------------------//
     public static final class activitytable{
          //status字段,active为活动状态，overdue为过期状态，cancel为取消状态
          public static final String STATUS_ACTIVE="active";
          public static final String STATUS_OVERDUE="overdue";
          public static final String STATUS_CANCEL="cancel";
     }


     //--------------------sporthistorytable表常量-----------------------//
     public static final class sporthistorytable{
          //spoType字段,walk为步行，run为跑步，ride为骑行
          public static final String SPOTYPE_WALK="walk";
          public static final String SPOTYPE_RUN="run";
          public static final String SPOTYPE_RIDE="ride";
     }



}
